<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Main</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="autorzy: Elwira Kowalewska, Piotr Karolus, Kacper Kapu&#347;niak grupa 21K7">
Modelowanie i symulacja zderze&#324; spr&#281;&#380;ystych
</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Module&nbsp;Main
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Main-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module Main</h1><p class="nomargin-top"><span class="codelink"><a href="Main-pysrc.html">source&nbsp;code</a></span></p>
<p>G&#322;&#243;wny modu&#322; programu odpowiedzialny na dzia&#322;anie g&#322;&#243;wnej p&#281;tli 
  programu kt&#243;ra zapewnia mo&#380;liwo&#347;&#263; prowadzenia symulacji.</p>
  <p><b>Modu&#322; zawiera:</b></p>
  <ol start="1">
    <li>
      Klasa MainFrame
      <ul>
        <li>
          Metoda OnMenuFileExitClick
        </li>
      </ul>
    </li>
    <li>
      Klasa Canvas
      <ul>
        <li>
          Metoda __init__
        </li>
        <li>
          Metoda OnTool
        </li>
        <li>
          Metoda OnOptions
        </li>
        <li>
          Metoda createRandomBall
        </li>
        <li>
          Metoda createWalls
        </li>
        <li>
          Metoda OnPaint
        </li>
        <li>
          Metoda OnSize
        </li>
        <li>
          Metoda UpdateBuffer
        </li>
        <li>
          Metoda Redraw
        </li>
        <li>
          Metoda playSimulation
        </li>
        <li>
          Metoda pauseSimulation
        </li>
        <li>
          Metoda stopSimulation
        </li>
        <li>
          Metoda bounceBallsAgainstCollidingWalls
        </li>
        <li>
          Metoda calculateBallsVelocitiesAfterCollision
        </li>
        <li>
          Metoda calculateBallPositionAfterTime
        </li>
        <li>
          Metoda calculateBallVelocityAfterTime
        </li>
        <li>
          Metoda simulate
        </li>
      </ul>
    </li>
  </ol>
  <ol start="4">
    <li>
      Klasa OptionsDialog
      <ul>
        <li>
          Metoda __init__
        </li>
        <li>
          Metoda OnResetToDefaultsClick
        </li>
        <li>
          Metoda OnApplyClick
        </li>
      </ul>
    </li>
    <li>
      Klasa PythonDrawApp
      <ul>
        <li>
          Metoda OnInit
        </li>
      </ul>
    </li>
  </ol>

<!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Classes"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Main.MainFrame-class.html" class="summary-name">MainFrame</a><br />
      Klasa implementuj&#261;ca zdarzenia g&#322;&#243;wnej formatki aplikacji.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Main.Canvas-class.html" class="summary-name">Canvas</a><br />
      Klasa implementuj&#261;ca zdarzenia zwi&#261;zane z rysowaniem na p&#322;&#243;tnie.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Main.OptionsDialog-class.html" class="summary-name">OptionsDialog</a><br />
      Klasa okna dialogowego z wyborem opcji symulacji.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Main.PythonDrawApp-class.html" class="summary-name">PythonDrawApp</a><br />
      G&#322;&#243;wna klasa aplikacji.
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="None">None</code>
    </td>
  </tr>
</table>
<p class="indent-wrapped-lines"><b>Imports:</b>
  <span title="wx">wx</span>,
  <span title="wx.xrc">xrc</span>,
  <span title="math.sqrt">sqrt</span>,
  <span title="math.sin">sin</span>,
  <span title="math.cos">cos</span>,
  <span title="math.asin">asin</span>,
  <span title="math.radians">radians</span>,
  <span title="math.pi">pi</span>,
  <span title="math.fabs">fabs</span>,
  <span title="random.randint">randint</span>,
  <span title="random.choice">choice</span>,
  <span title="copy.deepcopy">deepcopy</span>,
  <span title="time.clock">clock</span>,
  <span title="threading.Thread">Thread</span>,
  <span title="threading.Timer">Timer</span>,
  <span title="os.system">system</span>,
  <a href="Options.Options-class.html" title="Options.Options">Options</a>,
  <a href="Ball.Ball-class.html" title="Ball.Ball">Ball</a>,
  <a href="Wall.Wall-class.html" title="Wall.Wall">Wall</a>,
  <a href="Point.Point-class.html" title="Point.Point">Point</a>,
  <a href="Vectors.Velocity-class.html" title="Vectors.Velocity">Velocity</a>,
  <a href="Vectors.Gravity-class.html" title="Vectors.Gravity">Gravity</a>,
  <a href="Vectors.Vector-class.html" title="Vectors.Vector">Vector</a>
</p><br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="autorzy: Elwira Kowalewska, Piotr Karolus, Kacper Kapu&#347;niak grupa 21K7">
Modelowanie i symulacja zderze&#324; spr&#281;&#380;ystych
</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Jan 29 03:27:58 2014
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
